<template>
  <view class="p-5">
    <up-parse :content="notes"></up-parse>
  </view>
</template>

<script setup lang="ts">
import { ref, computed } from "vue";
import { useUserStore } from "@/stores/user.js";
import { onLoad } from "@dcloudio/uni-app";
const userStore = useUserStore();
const settingInfo = computed(() => userStore.setting);
const notes = ref("");
onLoad(({ type }) => {
  if (type == "step") {
    uni.setNavigationBarTitle({ title: "多人批量计算步骤说明" });
    notes.value = settingInfo.value.stepNote;
  } else {
    notes.value = settingInfo.value.softAgreements;
  }
});
</script>

<style lang="scss" scoped></style>
